package com.ordersystem.demo.respoistory;

import com.ordersystem.demo.model.ProductInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.jpa.repository.JpaRepository;

import java.math.BigDecimal;
import java.util.List;

public interface ProductInfoRespoistory extends JpaRepository<ProductInfo,String> {

    ProductInfo findOneByProductIdAndProductStatus(String productId,Integer productStatus);
}
